package cn.edu.seu.herald.informationplatform.bean.league;

import java.sql.Timestamp;

public class Message {
	public static final int NO_SUB_MESSAGE = -1;
	
	private int _activityId;
	
	private int _recruitId;
	
	private int _subMessageId;
	
	private int _leagueId;
	
	private String _content;
	
	private int _userOrLeagueId;
	
	private Timestamp _time;

	private String _userOrLeague;
	public int getActivityId() {
		return _activityId;
	}

	public void setActivityId(int activityId) {
		this._activityId = activityId;
	}

	public int getRecruitId() {
		return _recruitId;
	}

	public void setRecruitId(int recruitId) {
		this._recruitId = recruitId;
	}

	public int getSubMessageId() {
		return _subMessageId;
	}

	public void setSubMessageId(int subMessageId) {
		this._subMessageId = subMessageId;
	}

	public String getContent() {
		return _content;
	}

	public void setContent(String content) {
		this._content = content;
	}

	public int getUserOrLeagueId() {
		return _userOrLeagueId;
	}

	public void setUserOrLeagueId(int userOrLeagueId) {
		this._userOrLeagueId = userOrLeagueId;
	}
	
	public String getUserOrLeague() {
		return _userOrLeague;
	}

	public void setUserOrLeague(String userOrLeague) {
		this._userOrLeague = userOrLeague;
	}

	public Timestamp getTime() {
		return _time;
	}

	public void setTime(Timestamp time) {
		this._time = time;
	}

	public void setLeagueId(int _leagueId) {
		this._leagueId = _leagueId;
	}

	public int getLeagueId() {
		return _leagueId;
	}

}
